package cn.hospital.dao;

import cn.hospital.entity.Certificate;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CertificateMapper {
    int deleteByPrimaryKey(Integer certificateId);

    int insert(Certificate record);

    /**
     * 证件表的添加
     *
     * @param certificate
     * @return
     */
    int insertSelective(Certificate certificate);

    Certificate selectByPrimaryKey(Integer certificateId);

    int updateByPrimaryKeySelective(Certificate record);

    int updateByPrimaryKey(Certificate record);
}